import ajax, {IAjax} from '@/utils/ajax';


export function login(username: string, pwd: string): Promise<IAjax> {
    return ajax.post('/login', {
        username,
        pwd
    })
};

export function logout(): Promise<IAjax> {
    return ajax.post('/login',)
};

export function getUserInfo(): Promise<IAjax> {
    return ajax.post('/login',)
};
